﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///物料扩展数据表
    ///</summary>
    [SugarTable("t_MaterialExtData")]
    public partial class t_MaterialExtData
    {
        public t_MaterialExtData()
        {


        }
        /// <summary>
        /// Desc:数据Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:扩展字段Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FieldId { get; set; }

        /// <summary>
        /// Desc:字段名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FieldName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long MaterialId { get; set; }

        /// <summary>
        /// Desc:字段控件类型：1-文本框；2-单选框；3-多选框；4-下拉框；5-多行文本框；6-时间控件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ControlType { get; set; }

        /// <summary>
        /// Desc:输入方式：0-手动输入或选择；1-绑定数据源
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? InputWay { get; set; }

        /// <summary>
        /// Desc:是否下拉树
        /// Default:
        /// Nullable:True
        /// </summary>           
        public bool? IsTree { get; set; }

        /// <summary>
        /// Desc:对应字典类型Id，仅数据绑定下拉框用
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? BindDictTypeId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FieldData { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FieldValues { get; set; }

        /// <summary>
        /// Desc:排序
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FieldCode { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? MaterialKeyId { get; set; }

    }
}
